/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cl.mechon.buchef.engine;

import cl.mechon.buchef.engine.component.RenderComponent;
import org.newdawn.slick.Color;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.fills.GradientFill;
import org.newdawn.slick.geom.Rectangle;
import org.newdawn.slick.geom.Shape;
import org.newdawn.slick.state.StateBasedGame;
import org.newdawn.slick.util.Log;

/**
 *
 * @author Linkup
 */
public class placeHolderComponent extends RenderComponent{

    public placeHolderComponent(String id,Entity owner) {
        super(id,owner);
    }

    @Override
    public void render(GameContainer gc, StateBasedGame sb, Graphics gr) {
        gr.setColor(Color.black);
        gr.fill(new Rectangle(owner.getPosition().getX(), owner.getPosition().getY(), 32, 32));
        //Log.info("player rendered");
        
    }

    @Override
    public void update(GameContainer gc, StateBasedGame sb, int delta) {
        
    }
    
}
